package customerEnter.Frame.JDBCDaoEnhance;

import java.util.List;

import customerEnter.Frame.DaoDataTransmission.FrameBeanSuper;
import customerEnter.Frame.JDBCDao.Interface.ParametersResultInterface;
import customerEnter.Frame.JDBCDaoEnhance.Interface.DaoFrameDMLBaseEnhanceInterfaces;

/**
 * 數據層的安全鍋爐設計 數據查詢方法做了更詳細的設計 每一結果對應一個方法
 * 
 * 类名称：Base 类描述： 创建人：dy 创建时间：2016-3-16 下午1:36:48 T 实体 k 数据传输类型(返回的類型)
 * 
 * @param <T>
 * @param <K>
 */
@SuppressWarnings({ "hiding", "rawtypes", "serial" })
public class DaoFrameDMLBaseEnhance<T, K extends FrameBeanSuper> extends DaoFrameDMLEnhanceTrans<T, K> implements
		DaoFrameDMLBaseEnhanceInterfaces {

	@Override
	public <T> List<T> findAll(String tableName, Class<T> class1) {
		return daoFrameDMLBaseInterfaces.findAll(tableName, class1);
	}

	@Override
	public <T> T findId(Integer id, String tableName, Class<T> class1) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.findId(id, tableName, class1);
	}

	@Override
	public <T> List<T> findSeleList(String Front, String ClassName, String where, Class<T> class1) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.findSeleList(Front, ClassName, where, class1);
	}

	@Override
	public <T> List<T> findSelecJoinOnTable(String Front, String ClassName, String where, Class<T> Class) {
		return daoFrameDMLBaseInterfaces.findSelecJoinOnTable(Front, ClassName, where, Class);
	}

	public <T> List<T> findSelectOneOrMay(String Front, String ClassName, String where, Class<T> Class) {
		return daoFrameDMLBaseInterfaces.findSelectOneOrMay(Front, ClassName, where, Class);
	}

	public <T> T findCountData(String Front, String ClassName, String where) {
		return daoFrameDMLBaseInterfaces.findCountData(Front, ClassName, where);
	}

	public <T> List<T> findPagingTransmissionData(String Front, String ClassName, String where, int size, int page,
			String order, String descOrAsc, Class<T> Class) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.findPagingTransmissionData(Front, ClassName, where, size, page, order,
				descOrAsc, Class);
	}

	@Override
	public <T> List<T> findPagingTransmissionData(String Front, String ClassName, String where, int size, int page,
			String order, String descOrAsc, int position, Class<T> Class) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.findPagingTransmissionData(Front, ClassName, where, size, page, order,
				descOrAsc, position, Class);
	}

	@Override
	public ParametersResultInterface findPagingParametersResultData(String Front, String ClassName, String where,
			int size, int page, String order, String descOrAsc, Class<?> Class) {
		return daoFrameDMLBaseInterfaces.findPagingParametersResultData(Front, ClassName, where, size, page, order,
				descOrAsc, Class);
	}

	@Override
	public <T> T querySingleMap(String Front, String ClassName, String where) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.querySingleMap(Front, ClassName, where);
	}

	@Override
	public <T> T querySingleListMap(String Front, String ClassName, String where) {
		return daoFrameDMLBaseInterfaces.querySingleListMap(Front, ClassName, where);
	}

	@Override
	public <T> List<T> querySingleListPageMap(String Front, String ClassName, String where, int size, int page,
			String order, String descOrAsc, int position) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.querySingleListPageMap(Front, ClassName, where, size, page, order, descOrAsc,
				position);
	}

	@Override
	public <T> T querySingleListObjects(String Front, String ClassName, String where) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.querySingleListObjects(Front, ClassName, where);
	}

	@Override
	public <T> T querySingleString(String Front, String ClassName, String where) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.querySingleString(Front, ClassName, where);
	}

	@Override
	public <T> T querySingleDate(String Front, String ClassName, String where, Class<T> Class) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.querySingleDate(Front, ClassName, where, Class);
	}

	@Override
	public <T> T saveTable(String Table, Object MappingObject) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.saveTable(Table, MappingObject);
	}

	@Override
	public <T> T saveTableReturnId(String Table, Object MappingObject) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.saveTableReturnId(Table, MappingObject);
	}

	@Override
	public <T> T UpdateTable(String TableName, Object MappingObject, String where) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.UpdateTable(TableName, MappingObject, where);
	}

	@Override
	public <T> Object InsertBatch(String TableName, List<T> t, Class<T> class1) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.InsertBatch(TableName, t, class1);
	}

	@Override
	public Integer deleteObject(String TableName, int id) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.deleteObject(TableName, id);
	}

	@Override
	public Integer deleteObject(String TableName, String where) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.deleteObject(TableName, where);
	}

	@Override
	public <T> T savePreparedStatementReturnId(String Table, Object[] objects) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.savePreparedStatementReturnId(Table, objects);
	}

	@Override
	public <T> T savePreparedStatementBatch(String Table, List<Object[]> objects) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.savePreparedStatementBatch(Table, objects);
	}

	@Override
	public <T> T UpdatePreparedStatement(String TableName, String where, Object[] objects) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.UpdatePreparedStatement(TableName, where, objects);
	}

	@Override
	public <T> T UpdatePreparedStatementBatch(String TableName, String where, List<Object[]> objects) {
		// TODO Auto-generated method stub
		return daoFrameDMLBaseInterfaces.UpdatePreparedStatementBatch(TableName, where, objects);
	}

}
